package util;

import java.util.Arrays;
import java.util.Random;

public class RandomUtils {
    public static void main(String[] args) {
        final Random random = new Random();
        // 生成5个在[10,100)范围内的整数
        final int[] array = random.ints(5, 10, 100).toArray();
        System.out.println(Arrays.toString(array));
    }
}
